package com.example.denist.order.gui;

import com.example.denist.R;

import android.content.Context;
import android.graphics.Color;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.ViewGroup.LayoutParams;
import android.widget.TextView;

public class OrderTitleTextView extends TextView {

	public OrderTitleTextView(Context context, AttributeSet attrs) {
		super(context, attrs);
		
		LayoutParams layoutParams = new LayoutParams(context, attrs);
		layoutParams.height = LayoutParams.WRAP_CONTENT;
		layoutParams.width = 0;
		setLayoutParams(layoutParams);
		setGravity(Gravity.CENTER);
		setTextSize(10);
		setTextColor(Color.BLACK);
		setClickable(false);
		setBackgroundResource(R.drawable.u310);
	}

}
